package com.room.search.repository;


import com.room.search.domain.RoomDictType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface RoomDictTypeRepository extends JpaRepository<RoomDictType, Long> , JpaSpecificationExecutor<RoomDictType> {

    Optional<RoomDictType> findAllByDictType(String dictType);

}
